<%= render 'shared/error_messages' %>

<%= f.hidden_field :user_group_id %>

<div class="metadata_box">
      <span class="account_label"><%= f.label :first_name %></span>     
      <span class="account_field"><%= f.text_field :first_name, :class => "account_fieldwidth"%></span><br><br><br>
      <span class="account_label"><%= f.label :last_name %></span>
      <span class="account_field"><%= f.text_field :last_name, :class => "account_fieldwidth"%></span><br><br><br>
      <span class="account_label"><%= f.label :matriculation_number %></span>
      <span class="account_field"><%= f.text_field :matriculation_number, :class => "account_fieldwidth"%></span>    
</div>

  <%= f.label :email, :id => "user_header_size"%>
  <hr noshade size="1">
  
<div class="account_email_box">
      <span class="account_label"><%= f.label :email %></span>     
      <span class="account_field"><%= f.text_field :email, :class => "account_fieldwidth"%></span>   
</div>
    
  <%= f.label :password, :id => "user_header_size"%>
  <hr noshade size="1">
  
<div class="account_password_box">
      <span class="account_label"><%= f.label :password %></span>     
      <span class="account_field"><%= f.password_field :password, :class => "account_fieldwidth"%></span><br><br><br>  
      <span class="account_label"><%= f.label :password_confirmation %></span>     
      <span class="account_field"><%= f.password_field :password_confirmation, :class => "account_fieldwidth"%></span>
</div>
  
  <%= f.label :information, :id => "user_header_size"%>
  <hr noshade size="1">
  
<div class="account_info_box">
      <span class="account_label"><%= f.label :about %></span>     
      <span class="account_field"><%= f.text_area :about, :class => "account_textareadwidth"%></span><br><br><br><br><br><br><br><br>
      <span class="account_label"><%= f.label :preferred_locale %></span>     
      <span class="account_field">
		<%= f.select :preferred_locale, 
				options_for_select(available_languages, @user.preferred_locale), 
				{ include_blank: true }, class: "account_language_field" %>
	  </span>
</div>